package com.pro.service.imple;

import com.pro.mapper.UserStatisticsMapper;
import com.pro.pojo.JsNumber;
import com.pro.service.UserStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName:UserStatisticsServiceImple
 * Package:com.pro.service.imple
 * Description:
 *
 * @Date:2022/2/7 12:56
 * @Author: XJR
 */
@Service
public class UserStatisticsServiceImple implements UserStatisticsService {

    @Autowired
    private UserStatisticsMapper mapper;

    //计算前端总人数和后端总人数
    public JsNumber selectBeforeAndUserCount(){
        JsNumber number = mapper.selectBeforeAndUserCount();
        return number;
    };
}
